<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Compound Module <i>Nic80211MultiChannel</i></h2>
<b>Package:</b> org.mixim.modules.nic<br/><b>File: <a href="modules-nic-Nic80211MultiChannel.ned.html">modules/nic/Nic80211MultiChannel.ned</a></b><br/>
<p>This NIC implements an 802.11 network interface card with multi channel 
support and power consumption.
Note: This NIC does not model interference between adjacent channels!</p>
<p><b>See also:</b> <a href="org.mixim.modules.mac.Mac80211MultiChannel.html">Mac80211MultiChannel</a>, Decider80211MultiChannel</p>
<p><b>Author:</b> Karl Wessel</p>
<img src="org.mixim.modules.nic.Nic80211MultiChannel-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="org.mixim.modules.mac.Mac80211MultiChannel.html" title="Mac80211MultiChannel" alt="Mac80211MultiChannel" coords="78,109,122,170">
<area shape="rect" href="org.mixim.modules.phy.PhyLayerBattery.html" title="PhyLayerBattery" alt="PhyLayerBattery" coords="78,180,122,241">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.nic.Nic80211MultiChannel-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="org.mixim.modules.nic.Nic80211MultiChannel.html" title="Compound Module Nic80211MultiChannel" alt="" coords="131,6,283,34">
<area shape="rect" id="node2" href="ned.IdealChannel.html" title="Channel IdealChannel" alt="" coords="5,83,104,111">
<area shape="rect" id="node4" href="org.mixim.modules.mac.Mac80211MultiChannel.html" title="Simple Module Mac80211MultiChannel" alt="" coords="128,83,285,111">
<area shape="rect" id="node6" href="org.mixim.modules.phy.PhyLayerBattery.html" title="Simple Module PhyLayerBattery" alt="" coords="309,83,427,111">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.nic.Nic80211MultiChannel-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="org.mixim.modules.nic.Nic80211MultiChannel.html" title="Compound Module Nic80211MultiChannel" alt="" coords="5,83,157,111">
<area shape="rect" id="node2" href="org.mixim.modules.nic.INic.html" title="Module Interface INic" alt="" coords="45,6,117,34">
</map>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">connectionManagerName</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>
<p>name of the <a href="org.mixim.base.connectionManager.ConnectionManager.html">ConnectionManager</a> module</p>
   </td>
</tr>
<tr class="local">
   <td width="150">sleepCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">rxCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">decodingCurrentDelta</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">txCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">setupRxCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">setupTxCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">rxTxCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">txRxCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">onCurrent</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=block/ifcard</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Gates:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Direction</th>
      <th>Size</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">upperGateIn</xsl:if></td>
   <td width="100"><i>input</i></td>
   <td width="50"></td>   <td>
<p>to upper layers</p>
</td>
</tr>
<tr class="local">
   <td width="150">upperGateOut</xsl:if></td>
   <td width="100"><i>output</i></td>
   <td width="50"></td>   <td>
<p>from upper layers</p>
</td>
</tr>
<tr class="local">
   <td width="150">upperControlOut</xsl:if></td>
   <td width="100"><i>output</i></td>
   <td width="50"></td>   <td>
<p>control information</p>
</td>
</tr>
<tr class="local">
   <td width="150">upperControlIn</xsl:if></td>
   <td width="100"><i>input</i></td>
   <td width="50"></td>   <td>
<p>control information</p>
</td>
</tr>
<tr class="local">
   <td width="150">radioIn</xsl:if></td>
   <td width="100"><i>input</i></td>
   <td width="50"></td>   <td>
<p>radioIn gate for sendDirect</p>
</td>
</tr>
</table>
<h3 class="subtitle">Unassigned submodule parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.headerLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">272bit</td>
   <td>
<p>length of the MAC packet header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable debugging for this module</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.queueLength</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">20</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.rtsCtsThreshold</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">-1</td>
   <td>
<p>Number of bits in a packet before RTS/CTS is used. 
Is currently not used.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.bitrate</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">2E+6bps</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.autoBitrate</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>auto bit rate selection support: specify borders at which
to change modulation.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.snr2Mbit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.46dB</td>
   <td>
<p>threshold to use 2Mbit (in dB)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.snr5Mbit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">2.6dB</td>
   <td>
<p>threshold to use 5.5Mbit (in dB)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.snr11Mbit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">5.68dB</td>
   <td>
<p>threshold to use 11Mbit (in dB)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.neighborhoodCacheSize</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">30</td>
   <td>
<p>keep information on neighborhood</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.neighborhoodCacheMaxAge</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100s</td>
   <td>
<p>consider information in cache outdate if older than (in seconds)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.mac.Mac80211MultiChannel.html">mac</a>.txPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">110.11mW</td>
   <td>
<p>the power to transmit packets with [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable/disable tracking of statistics (eg. cOutvectors)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.usePropagationDelay</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>Should transmission delay be simulated?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.thermalNoise</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>the strength of the thermal noise [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.useThermalNoise</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>should thermal noise be considered?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.analogueModels</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the analogue models to use and their parameters</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.decider</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120">xmldoc("Nic80211MultiChannel_Decider.xml")</td>
   <td>
<p>Specification of the decider to use and its parameters</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.sensitivity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">-119.5dBm</td>
   <td>
<p>The sensitivity of the physical layer [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.maxTXPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The maximum transimission power of the physical layer [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioState</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>state the radio is initially in</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMinAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.0</td>
   <td>
<p>radios gain factor (attenuation) while receiving</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMaxAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0.0</td>
   <td>
<p>radios gain factor (attenuation) while not receiving</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.nbRadioChannels</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">15</td>
   <td>
<p>Number of available radio channels. Defaults to single channel radio.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioChannel</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1</td>
   <td>
<p>Initial radio channel.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.numActivities</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">5</td>
   <td>
<p>the number of different power consuming activities the phy layer has
change this parameter if your decider or physical layer uses more
than the default 5 activities (sleep, rx, tx, switching, decoding)</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// This NIC implements an 802.11 network interface card with multi channel 
// support and power consumption.
// Note: This NIC does not model interference between adjacent channels!
//
// </span><span style="color: #000080; ">@see</span><span style="color: #808080; font-style: italic; "> Mac80211MultiChannel, Decider80211MultiChannel
// </span><span style="color: #000080; ">@author</span><span style="color: #808080; font-style: italic; "> Karl Wessel
//
</span><span style="color: #800000; font-weight: bold; ">module</span><span style="color: #000000; "> </span><span style="color: #000000; ">Nic80211MultiChannel</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">like</span><span style="color: #000000; "> </span><span style="color: #000000; ">INic</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #808080; font-style: italic; ">//name of the ConnectionManager module
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">connectionManagerName</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;&quot;</span><span style="color: #000000; ">);
        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;i=block/ifcard&quot;</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">sleepCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">rxCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">decodingCurrentDelta</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">txCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">setupRxCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">setupTxCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">rxTxCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">txRxCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">onCurrent</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">mA</span><span style="color: #000000; ">) = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">0</span><span style="color: #000000; ">);

    </span><span style="color: #800000; font-weight: bold; ">gates</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// to upper layers
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">output</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// from upper layers
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">output</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// control information 
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// control information 
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">radioIn</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// radioIn gate for sendDirect
</span><span style="color: #000000; ">
    </span><span style="color: #800000; font-weight: bold; ">submodules</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">: </span><span style="color: #000000; ">Mac80211MultiChannel</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">queueLength</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">20</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">bitrate</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">2</span><span style="color: #000000; ">E</span><span style="color: #000000; ">+</span><span style="color: #008000; ">6</span><span style="color: #000000; ">bps</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">autoBitrate</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">false</span><span style="color: #000000; ">);
            </span><span style="color: #808080; font-style: italic; ">// values if no fading is modelled, gives at most 1% packet error rate
</span><span style="color: #000000; ">            </span><span style="color: #000000; ">snr2Mbit</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">1</span><span style="color: #000000; ">.</span><span style="color: #008000; ">46</span><span style="color: #000000; ">dB</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">snr5Mbit</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">2</span><span style="color: #000000; ">.</span><span style="color: #008000; ">6</span><span style="color: #000000; ">dB</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">snr11Mbit</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">5</span><span style="color: #000000; ">.</span><span style="color: #008000; ">68</span><span style="color: #000000; ">dB</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">neighborhoodCacheSize</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">30</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">neighborhoodCacheMaxAge</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">100</span><span style="color: #000000; ">s</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">txPower</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">110</span><span style="color: #000000; ">.</span><span style="color: #008000; ">11</span><span style="color: #000000; ">mW</span><span style="color: #000000; ">);

            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=96,87;i=block/layer&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">phy</span><span style="color: #000000; ">: </span><span style="color: #000000; ">PhyLayerBattery</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">headerLength</span><span style="color: #000000; "> = </span><span style="color: #008000; ">192</span><span style="color: #000000; ">bit</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">sensitivity</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(-</span><span style="color: #008000; ">119</span><span style="color: #000000; ">.</span><span style="color: #008000; ">5</span><span style="color: #000000; ">dBm</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">decider</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #800000; font-weight: bold; ">xmldoc</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;Nic80211MultiChannel_Decider.xml&quot;</span><span style="color: #000000; ">));
            </span><span style="color: #000000; ">nbRadioChannels</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">15</span><span style="color: #000000; ">);
            </span><span style="color: #000000; ">initialRadioChannel</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">1</span><span style="color: #000000; ">);

            </span><span style="color: #808080; font-style: italic; ">//Mac80211 does not support switching times
</span><span style="color: #000000; ">            </span><span style="color: #000000; ">timeRXToTX</span><span style="color: #000000; "> = </span><span style="color: #008000; ">0</span><span style="color: #000000; ">s</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">timeRXToSleep</span><span style="color: #000000; "> = </span><span style="color: #008000; ">0</span><span style="color: #000000; ">s</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">timeTXToRX</span><span style="color: #000000; "> = </span><span style="color: #008000; ">0</span><span style="color: #000000; ">s</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">timeTXToSleep</span><span style="color: #000000; "> = </span><span style="color: #008000; ">0</span><span style="color: #000000; ">s</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">timeSleepToRX</span><span style="color: #000000; "> = </span><span style="color: #008000; ">0</span><span style="color: #000000; ">s</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">timeSleepToTX</span><span style="color: #000000; "> = </span><span style="color: #008000; ">0</span><span style="color: #000000; ">s</span><span style="color: #000000; ">;
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=96,158;i=block/process;is=n&quot;</span><span style="color: #000000; ">);
        }

    </span><span style="color: #800000; font-weight: bold; ">connections</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,25,50,25,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,15,50,15,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,75,50,75,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,85,0,85,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; ">;

        </span><span style="color: #000000; ">phy</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,25,50,25,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">phy</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,15,50,15,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateOut</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">phy</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,75,50,75,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">phy</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,85,0,85,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">mac</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlOut</span><span style="color: #000000; ">;

        </span><span style="color: #000000; ">radioIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">phy</span><span style="color: #000000; ">.</span><span style="color: #000000; ">radioIn</span><span style="color: #000000; ">;
}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
